const math/rand.rn
4 uses
math/rand (current package)
normal.go#L20: rn = 3.442619855899
normal.go#L50: x = -math.Log(r.Float64()) * (1.0 / rn)
normal.go#L57: return rn + x
normal.go#L59: return -rn - x
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |